package com.session01;

public class BankException extends Exception {
    private String msg;
    private double amount;

    public BankException(String msg, double amount) {
        this.msg = msg;
        this.amount = amount;
    }

    public String getMsg() {
        return msg;
    }

    public double getAmount() {
        return amount;
    }
}
